package br.com.felix.clearcase.command;

/**
 * Enumerates the possible command targets. That is, if a command is to be performed only with files,
 * or directories, or with both.
 * */
public enum CommandTarget {
	FILES, DIRECTORIES, FILES_AND_DIRECTORIES;

	
	/**
	 * Returns the name of the CommandTarget in lowercase, and with spaces instead of underscores.
	 * */
	@Override
	public String toString() {
		return super.toString().toLowerCase().replaceAll("_", " ");
	}
	
	
}
